#include<iostream>
#include<thread>

void printMsg003(const std::string& msg) {
	std::cout << msg << " " << std::endl;
}

int main003() {
	std::thread t1(printMsg003, "Thread 1");
	std::thread t2(printMsg003, "Thread 2");
	t1.join();
	t2.join();
	std::cout << "All threads joined" << std::endl;

	return 0;
}